package com.yingsheng.bi.hks.feign.client;

import com.yingsheng.bi.hks.basic.FeignConst;
import com.yingsheng.bi.hks.dto.employee.ResumeAddReq;
import com.yingsheng.bi.hks.dto.employee.ResumeAddRes;
import com.yingsheng.bi.hks.dto.employee.ResumeQryReq;
import com.yingsheng.bi.hks.dto.employee.ResumeQryRes;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 员工信息路由
 */
@FeignClient(contextId = FeignConst.HKS_EMPLOYEE, name = FeignConst.SERVICE_NAME)
@Api(tags = "员工信息管理", value = "员工信息管理")
public interface EmployeeFeignClient {

    @ApiOperation(httpMethod = "POST", value = "阿姨简历创建")
    @RequestMapping(value = "/resume/resumeAdd")
    ResumeAddRes add(@RequestBody ResumeAddReq req);

    @ApiOperation(httpMethod = "POST", value = "阿姨简历查询")
    @RequestMapping(value = "/resume/resumeQry")
    ResumeQryRes qry(@RequestBody ResumeQryReq req);
}
